<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
           
        }
        ul{
            list-style:none;
        }
        #wan{
            width: 300px;
            margin: 20px auto;
            position: relative;
        }
        #wan ul{
            
            background:#ccc;
        }
        #wan ul li{
            width: 300px;
            height: 50px;
            line-height:50px;
            font-size: 18px;
            background:#ccc;
        }
        #wan ul li p{
            padding-left:20px;
            background:#ccc;
            border:#ccc 1px solid;
           
        }
        #wan ul li:hover p{
            background-color: #fff;
            border: 1px #f0f solid;
            position: relative;
            z-index:9;
            border-right:#fff 1px solid;
        }
       #wan ul li div{
            width:500px;
            height: 600px;
            border:#f0f 1px solid;
            position: absolute;
            top:0;
            left:299px;
            z-index: 5;
            display:none;
        }
        #wan ul li:hover div{
            display: block;
        }
    </style>
</head>
<body>
    <div id="wan">
        <!-- 哈哈哈1234546789 -->
        <ul>
            <li><p>吃饭，睡觉，唱歌</p>
                <div>压力山大</div>
            </li>
            <li><p>吃饭，睡觉，唱歌</p>
                <div>yes</div>
            </li>
            <li><p>吃饭，睡觉，唱歌</p>
                <div>哈哈哈</div>
            </li>
        </ul>



    </div>
</body>
</html>